package tk.hongbo.hilt.ui

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import tk.hongbo.hilt.data.HomeRepository
import javax.inject.Inject


/* 
 * Created by HongboZhao on 2021/10/23.
 * Copyright (c) 2021 JVTD All rights reserved.
 */
@HiltViewModel
class HomeViewModel @Inject constructor(private val repository: HomeRepository) : ViewModel() {
    fun getMessage(): String {
        return "JTD,${repository.getMessage()}"
    }
}